<template>
  <div class="register_success_page">
    <Logo />
    <div class="content">
      <img src="@/assets/logo/register_success.png" alt="" class="reigster_success_img">
      <h3 class="title">企业账户注册成功</h3>
      <div class="sub_title">您尚未完成企业实名注册认证</div>
      <div class="desc">注册认证完成后方可享受更多服务，请您准备好本人身份证件、营业执照、法定代表人身份证件等资料信息</div>
      <div class="btn_box">
        <el-button type="primary" style="width: 300px;margin: 0 auto;" class="btn" @click="goToAuthenticateStep">去认证</el-button>
      </div>
    </div>
    <Copyright />
  </div>
</template>

<script>
import Logo from "@/customComponents/logo";
import Copyright from '@/customComponents/copyright';

export default {
  name: "Register",
  components: {
    Logo,
    Copyright,
  },
  data() {
    return {
    };
  },
  created() {

  },
  methods: {
    goToAuthenticateStep() {
      this.$router.push({
        path: '/authenticate/add',
      })
    }
  },
};
</script>

<style rel="stylesheet/scss" lang="scss">
@import '@/assets/styles/px2rem.scss';
@import "@/assets/styles/variables.scss";

.register_success_page {
  height: 100%;
  background-image: url("../assets/images/login-background.jpg");
  background-size: cover;
  display: flex;
  flex-direction: column;

  .content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: px2rem(1400);
    background-color: #fff;
    box-shadow: rgba(0, 88, 255, 0.4) 5px 6px 14px 0;
    border-radius: 20px;
    margin: 50px auto;
    .reigster_success_img {
      display: block;
      width: 160px;
      height: 160px;
      margin: 0 auto 30px;
    }
    .title {
      color: $theme;
      font-size: 36px;
      font-weight: 600;
      height: 50px;
      line-height: 50px;
      text-align: center;
    }
    .sub_title {
      margin-top: 48px;
      color: #555;
      font-size: 20px;
      font-weight: 500;
      height: 26px;
      line-height: 26px;
      text-align: center;
    }
    .desc {
      margin-top: 12px;
      color: #555;
      font-size: 18px;
      text-align: center;
    }
    .btn_box {
      display: flex;
      justify-content: center;
      margin-top: 40px;
    }
  }

  .el-register-footer {
    height: 40px;
    line-height: 40px;
    width: 100%;
    text-align: center;
    color: $theme;
    font-family: Arial;
    font-size: 16px;
    letter-spacing: 1px;
    height: 22px;
    line-height: 22px;
    padding-bottom: 4px;
  }
  .register-code-img {
    height: 38px;
  }
}
</style>
